[INFO] cloning repository https://github.com/bioerrorlog/fullstack-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bioerrorlog/fullstack-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbioerrorlog%2Ffullstack-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbioerrorlog%2Ffullstack-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9e01c7aa52b181525124969acbee087c6d5e3968
[INFO] checking bioerrorlog/fullstack-rust against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbioerrorlog%2Ffullstack-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bioerrorlog/fullstack-rust on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/bioerrorlog/fullstack-rust
[INFO] finished tweaking git repo https://github.com/bioerrorlog/fullstack-rust
[INFO] tweaked toml for git repo https://github.com/bioerrorlog/fullstack-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/bioerrorlog/fullstack-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8ed322fe86cc9333c43173c4751d6d573b79e34a5b6541e066dec3ac3e6953cc
[INFO] running `Command { std: "docker" "start" "-a" "8ed322fe86cc9333c43173c4751d6d573b79e34a5b6541e066dec3ac3e6953cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8ed322fe86cc9333c43173c4751d6d573b79e34a5b6541e066dec3ac3e6953cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ed322fe86cc9333c43173c4751d6d573b79e34a5b6541e066dec3ac3e6953cc", kill_on_drop: false }`
[INFO] [stdout] 8ed322fe86cc9333c43173c4751d6d573b79e34a5b6541e066dec3ac3e6953cc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 82bd551460a4482a789707a42835187cdab0ed3a7811b40fb541d80a715238fb
[INFO] running `Command { std: "docker" "start" "-a" "82bd551460a4482a789707a42835187cdab0ed3a7811b40fb541d80a715238fb", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.81
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling bumpalo v3.10.0
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling wasm-bindgen v0.2.81
[INFO] [stderr]    Compiling tokio v1.6.1
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]     Checking once_cell v1.13.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking hashbrown v0.12.1
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking tracing-core v0.1.28
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling async-trait v0.1.56
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking unicode-normalization v0.1.21
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]    Compiling anyhow v1.0.58
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]     Checking siphasher v0.3.10
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking phf_shared v0.10.0
[INFO] [stderr]     Checking input_buffer v0.4.0
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]    Compiling boolinator v2.4.0
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking fastrand v1.7.0
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]     Checking safemem v0.3.3
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]    Compiling yew v0.18.0
[INFO] [stderr]     Checking buf_redux v0.8.4
[INFO] [stderr]     Checking phf v0.10.1
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking stringprep v0.1.2
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking twoway v0.1.8
[INFO] [stderr]     Checking cfg-match v0.2.1
[INFO] [stderr]     Checking anymap v0.12.1
[INFO] [stderr]     Checking futures-timer v3.0.2
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking crypto-common v0.1.4
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking sha-1 v0.9.8
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking sha2 v0.10.2
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking md-5 v0.10.1
[INFO] [stderr]     Checking sha-1 v0.10.0
[INFO] [stderr]     Checking multipart v0.17.1
[INFO] [stderr]     Checking headers v0.3.7
[INFO] [stderr]     Checking postgres-protocol v0.6.4
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking tungstenite v0.12.0
[INFO] [stderr]    Compiling yew-router-route-parser v0.15.0
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.81
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling tracing-attributes v0.1.22
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling pin-project-internal v1.0.11
[INFO] [stderr]    Compiling yew-macro v0.18.0
[INFO] [stderr]    Compiling yew-router-macro v0.15.0
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.81
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.81
[INFO] [stderr]     Checking thiserror v1.0.24
[INFO] [stderr]     Checking tracing v0.1.35
[INFO] [stderr]     Checking pin-project v1.0.11
[INFO] [stderr]     Checking js-sys v0.3.58
[INFO] [stderr]     Checking console_error_panic_hook v0.1.7
[INFO] [stderr]     Checking tokio-util v0.7.1
[INFO] [stderr]     Checking tokio-stream v0.1.6
[INFO] [stderr]     Checking tokio-util v0.6.9
[INFO] [stderr]     Checking futures-executor v0.3.21
[INFO] [stderr]     Checking mobc v0.7.2
[INFO] [stderr]     Checking tokio-tungstenite v0.13.0
[INFO] [stderr]     Checking web-sys v0.3.58
[INFO] [stderr]     Checking gloo-timers v0.2.4
[INFO] [stderr]     Checking wasm-bindgen-futures v0.4.31
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking shared v0.1.0 (/opt/rustwide/workdir/shared)
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking postgres-types v0.2.3
[INFO] [stderr]     Checking tokio-postgres v0.7.6
[INFO] [stderr]     Checking hyper v0.14.19
[INFO] [stderr]     Checking gloo-events v0.1.2
[INFO] [stderr]     Checking gloo-console-timer v0.1.0
[INFO] [stderr]     Checking mobc-postgres v0.7.0
[INFO] [stderr]     Checking gloo-file v0.1.0
[INFO] [stderr]     Checking gloo v0.2.1
[INFO] [stderr]     Checking yew-router v0.15.0
[INFO] [stderr]     Checking frontend v0.1.0 (/opt/rustwide/workdir/frontend)
[INFO] [stderr]     Checking warp v0.3.1
[INFO] [stderr]     Checking backend v0.1.0 (/opt/rustwide/workdir/backend)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db`
[INFO] [stdout]  --> backend/src/handler.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let pets = db::pet::fetch(&db_pool, owner_id)
[INFO] [stdout]   |                ^^ use of undeclared crate or module `db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db`
[INFO] [stdout]  --> backend/src/handler.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let pets = db::pet::fetch(&db_pool, owner_id)
[INFO] [stdout]   |                ^^ use of undeclared crate or module `db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db`
[INFO] [stdout]   --> backend/src/handler.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         db::pet::create(&db_pool, owner_id, body)
[INFO] [stdout]    |         ^^ use of undeclared crate or module `db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db`
[INFO] [stdout]   --> backend/src/handler.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         db::pet::create(&db_pool, owner_id, body)
[INFO] [stdout]    |         ^^ use of undeclared crate or module `db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db`
[INFO] [stdout]   --> backend/src/handler.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     db::pet::delete(&db_pool, owner_id, id)
[INFO] [stdout]    |     ^^ use of undeclared crate or module `db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db`
[INFO] [stdout]   --> backend/src/handler.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     db::pet::delete(&db_pool, owner_id, id)
[INFO] [stdout]    |     ^^ use of undeclared crate or module `db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db`
[INFO] [stdout]   --> backend/src/handler.rs:30:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let owners = db::owner::fetch(&db_pool).await.map_err(reject::custom)?;
[INFO] [stdout]    |                  ^^ use of undeclared crate or module `db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db`
[INFO] [stdout]   --> backend/src/handler.rs:30:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let owners = db::owner::fetch(&db_pool).await.map_err(reject::custom)?;
[INFO] [stdout]    |                  ^^ use of undeclared crate or module `db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db`
[INFO] [stdout]   --> backend/src/handler.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let owner = db::owner::fetch_one(&db_pool, id)
[INFO] [stdout]    |                 ^^ use of undeclared crate or module `db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db`
[INFO] [stdout]   --> backend/src/handler.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let owner = db::owner::fetch_one(&db_pool, id)
[INFO] [stdout]    |                 ^^ use of undeclared crate or module `db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db`
[INFO] [stdout]   --> backend/src/handler.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         db::owner::create(&db_pool, body)
[INFO] [stdout]    |         ^^ use of undeclared crate or module `db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `db`
[INFO] [stdout]   --> backend/src/handler.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         db::owner::create(&db_pool, body)
[INFO] [stdout]    |         ^^ use of undeclared crate or module `db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope
[INFO] [stdout]  --> backend/src/db/mod.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn init_db(db_pool: &DBPool) -> Result<()> {
[INFO] [stdout]   |                                ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::DBPool;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBInitError` in this scope
[INFO] [stdout]   --> backend/src/db/mod.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 |         .map_err(DBInitError)?;
[INFO] [stdout]    |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::error::Error::DBInitError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope
[INFO] [stdout]   --> backend/src/db/mod.rs:17:35
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn get_db_con(db_pool: &DBPool) -> Result<DBCon> {
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::DBPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBCon` in this scope
[INFO] [stdout]   --> backend/src/db/mod.rs:17:53
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn get_db_con(db_pool: &DBPool) -> Result<DBCon> {
[INFO] [stdout]    |                                                     ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::DBCon;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope
[INFO] [stdout]  --> backend/src/db/mod.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn init_db(db_pool: &DBPool) -> Result<()> {
[INFO] [stdout]   |                                ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::DBPool;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBPoolError` in this scope
[INFO] [stdout]   --> backend/src/db/mod.rs:18:33
[INFO] [stdout]    |
[INFO] [stdout] 18 |     db_pool.get().await.map_err(DBPoolError)
[INFO] [stdout]    |                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::error::Error::DBPoolError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBInitError` in this scope
[INFO] [stdout]   --> backend/src/db/mod.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 |         .map_err(DBInitError)?;
[INFO] [stdout]    |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::error::Error::DBInitError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope
[INFO] [stdout]   --> backend/src/db/mod.rs:21:45
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn create_pool() -> std::result::Result<DBPool, mobc::Error<Error>> {
[INFO] [stdout]    |                                             ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::DBPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope
[INFO] [stdout]   --> backend/src/db/mod.rs:17:35
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn get_db_con(db_pool: &DBPool) -> Result<DBCon> {
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::DBPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBCon` in this scope
[INFO] [stdout]   --> backend/src/db/mod.rs:17:53
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn get_db_con(db_pool: &DBPool) -> Result<DBCon> {
[INFO] [stdout]    |                                                     ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::DBCon;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DBPoolError` in this scope
[INFO] [stdout]   --> backend/src/db/mod.rs:18:33
[INFO] [stdout]    |
[INFO] [stdout] 18 |     db_pool.get().await.map_err(DBPoolError)
[INFO] [stdout]    |                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple variant
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::error::Error::DBPoolError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in this scope
[INFO] [stdout]   --> backend/src/db/mod.rs:21:65
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn create_pool() -> std::result::Result<DBPool, mobc::Error<Error>> {
[INFO] [stdout]    |                                                                 ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use core::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::tokio_postgres::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 13 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope
[INFO] [stdout]   --> backend/src/db/mod.rs:21:45
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn create_pool() -> std::result::Result<DBPool, mobc::Error<Error>> {
[INFO] [stdout]    |                                             ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::DBPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config`
[INFO] [stdout]   --> backend/src/db/mod.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let config = Config::from_str("postgres://postgres@127.0.0.1:7878/postgres")?;
[INFO] [stdout]    |                  ^^^^^^ use of undeclared type `Config`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::tokio_postgres::Config;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgConnectionManager`
[INFO] [stdout]   --> backend/src/db/mod.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let manager = PgConnectionManager::new(config, NoTls);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PgConnectionManager`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::PgConnectionManager;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use mobc_postgres::PgConnectionManager;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NoTls` in this scope
[INFO] [stdout]   --> backend/src/db/mod.rs:24:52
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let manager = PgConnectionManager::new(config, NoTls);
[INFO] [stdout]    |                                                    ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::NoTls;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in this scope
[INFO] [stdout]   --> backend/src/db/mod.rs:21:65
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn create_pool() -> std::result::Result<DBPool, mobc::Error<Error>> {
[INFO] [stdout]    |                                                                 ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use core::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::tokio_postgres::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 13 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pool`
[INFO] [stdout]   --> backend/src/db/mod.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Ok(Pool::builder()
[INFO] [stdout]    |        ^^^^ use of undeclared type `Pool`
[INFO] [stdout]    |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Ok(bool::builder()
[INFO] [stdout]    |        ~~~~
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::Pool;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use mobc::Pool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config`
[INFO] [stdout]   --> backend/src/db/mod.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let config = Config::from_str("postgres://postgres@127.0.0.1:7878/postgres")?;
[INFO] [stdout]    |                  ^^^^^^ use of undeclared type `Config`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::tokio_postgres::Config;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]   --> backend/src/db/mod.rs:28:27
[INFO] [stdout]    |
[INFO] [stdout] 28 |         .get_timeout(Some(Duration::from_secs(DB_POOL_TIMEOUT_SECONDS)))
[INFO] [stdout]    |                           ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use core::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use tokio::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PgConnectionManager`
[INFO] [stdout]   --> backend/src/db/mod.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let manager = PgConnectionManager::new(config, NoTls);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PgConnectionManager`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::PgConnectionManager;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use mobc_postgres::PgConnectionManager;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NoTls` in this scope
[INFO] [stdout]   --> backend/src/db/mod.rs:24:52
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let manager = PgConnectionManager::new(config, NoTls);
[INFO] [stdout]    |                                                    ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::NoTls;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope
[INFO] [stdout]  --> backend/src/handler.rs:1:56
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub async fn list_pets_handler(owner_id: i32, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]   |                                                        ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::DBPool;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope
[INFO] [stdout]  --> backend/src/handler.rs:1:79
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub async fn list_pets_handler(owner_id: i32, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]   |                                                                               ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 1 + use warp::Reply;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pool`
[INFO] [stdout]   --> backend/src/db/mod.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Ok(Pool::builder()
[INFO] [stdout]    |        ^^^^ use of undeclared type `Pool`
[INFO] [stdout]    |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Ok(bool::builder()
[INFO] [stdout]    |        ~~~~
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::Pool;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use mobc::Pool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `json` in this scope
[INFO] [stdout]  --> backend/src/handler.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Ok(json::<Vec<_>>(
[INFO] [stdout]   |        ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 + use warp::body::json;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use warp::reply::json;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PetResponse`
[INFO] [stdout]  --> backend/src/handler.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 |         &pets.into_iter().map(PetResponse::of).collect(),
[INFO] [stdout]   |                               ^^^^^^^^^^^ use of undeclared type `PetResponse`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use shared::PetResponse;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PetRequest` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 |     body: PetRequest,
[INFO] [stdout]    |           ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use shared::PetRequest;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |     db_pool: DBPool,
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::DBPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | ) -> Result<impl Reply> {
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::Reply;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]   --> backend/src/db/mod.rs:28:27
[INFO] [stdout]    |
[INFO] [stdout] 28 |         .get_timeout(Some(Duration::from_secs(DB_POOL_TIMEOUT_SECONDS)))
[INFO] [stdout]    |                           ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use core::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use tokio::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `json` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Ok(json(&PetResponse::of(
[INFO] [stdout]    |        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::body::json;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::reply::json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PetResponse`
[INFO] [stdout]   --> backend/src/handler.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Ok(json(&PetResponse::of(
[INFO] [stdout]    |              ^^^^^^^^^^^ use of undeclared type `PetResponse`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use shared::PetResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope
[INFO] [stdout]  --> backend/src/handler.rs:1:56
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub async fn list_pets_handler(owner_id: i32, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]   |                                                        ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::DBPool;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:22:66
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub async fn delete_pet_handler(owner_id: i32, id: i32, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]    |                                                                  ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::DBPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope
[INFO] [stdout]  --> backend/src/handler.rs:1:79
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub async fn list_pets_handler(owner_id: i32, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]   |                                                                               ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 1 + use warp::Reply;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:22:89
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub async fn delete_pet_handler(owner_id: i32, id: i32, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]    |                                                                                         ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::Reply;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `json` in this scope
[INFO] [stdout]  --> backend/src/handler.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Ok(json::<Vec<_>>(
[INFO] [stdout]   |        ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 + use warp::body::json;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use warp::reply::json;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:29:43
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub async fn list_owners_handler(db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]    |                                           ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::DBPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:29:66
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub async fn list_owners_handler(db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]    |                                                                  ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::Reply;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PetResponse`
[INFO] [stdout]  --> backend/src/handler.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 |         &pets.into_iter().map(PetResponse::of).collect(),
[INFO] [stdout]   |                               ^^^^^^^^^^^ use of undeclared type `PetResponse`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use shared::PetResponse;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PetRequest` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 |     body: PetRequest,
[INFO] [stdout]    |           ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use shared::PetRequest;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |     db_pool: DBPool,
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::DBPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `json` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 |     Ok(json::<Vec<_>>(
[INFO] [stdout]    |        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::body::json;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::reply::json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | ) -> Result<impl Reply> {
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::Reply;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwnerResponse`
[INFO] [stdout]   --> backend/src/handler.rs:32:33
[INFO] [stdout]    |
[INFO] [stdout] 32 |         &owners.into_iter().map(OwnerResponse::of).collect(),
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^ use of undeclared type `OwnerResponse`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use shared::OwnerResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `json` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Ok(json(&PetResponse::of(
[INFO] [stdout]    |        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::body::json;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::reply::json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:36:52
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub async fn fetch_owner_handler(id: i32, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]    |                                                    ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::DBPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PetResponse`
[INFO] [stdout]   --> backend/src/handler.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Ok(json(&PetResponse::of(
[INFO] [stdout]    |              ^^^^^^^^^^^ use of undeclared type `PetResponse`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use shared::PetResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:36:75
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub async fn fetch_owner_handler(id: i32, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]    |                                                                           ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::Reply;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:22:66
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub async fn delete_pet_handler(owner_id: i32, id: i32, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]    |                                                                  ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::DBPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `json` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 |     Ok(json(&OwnerResponse::of(owner)))
[INFO] [stdout]    |        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::body::json;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::reply::json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:22:89
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub async fn delete_pet_handler(owner_id: i32, id: i32, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]    |                                                                                         ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::Reply;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwnerResponse`
[INFO] [stdout]   --> backend/src/handler.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 |     Ok(json(&OwnerResponse::of(owner)))
[INFO] [stdout]    |              ^^^^^^^^^^^^^ use of undeclared type `OwnerResponse`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use shared::OwnerResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:29:43
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub async fn list_owners_handler(db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]    |                                           ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::DBPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OwnerRequest` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:43:41
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub async fn create_owner_handler(body: OwnerRequest, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use shared::OwnerRequest;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:29:66
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub async fn list_owners_handler(db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]    |                                                                  ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::Reply;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:43:64
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub async fn create_owner_handler(body: OwnerRequest, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]    |                                                                ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::DBPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:43:87
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub async fn create_owner_handler(body: OwnerRequest, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]    |                                                                                       ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::Reply;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `json` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 |     Ok(json::<Vec<_>>(
[INFO] [stdout]    |        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::body::json;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::reply::json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwnerResponse`
[INFO] [stdout]   --> backend/src/handler.rs:32:33
[INFO] [stdout]    |
[INFO] [stdout] 32 |         &owners.into_iter().map(OwnerResponse::of).collect(),
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^ use of undeclared type `OwnerResponse`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use shared::OwnerResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `json` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Ok(json(&OwnerResponse::of(
[INFO] [stdout]    |        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::body::json;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::reply::json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwnerResponse`
[INFO] [stdout]   --> backend/src/handler.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Ok(json(&OwnerResponse::of(
[INFO] [stdout]    |              ^^^^^^^^^^^^^ use of undeclared type `OwnerResponse`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use shared::OwnerResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:36:52
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub async fn fetch_owner_handler(id: i32, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]    |                                                    ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::DBPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:36:75
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub async fn fetch_owner_handler(id: i32, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]    |                                                                           ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::Reply;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `json` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 |     Ok(json(&OwnerResponse::of(owner)))
[INFO] [stdout]    |        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::body::json;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::reply::json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwnerResponse`
[INFO] [stdout]   --> backend/src/handler.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 |     Ok(json(&OwnerResponse::of(owner)))
[INFO] [stdout]    |              ^^^^^^^^^^^^^ use of undeclared type `OwnerResponse`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use shared::OwnerResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OwnerRequest` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:43:41
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub async fn create_owner_handler(body: OwnerRequest, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use shared::OwnerRequest;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DBPool` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:43:64
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub async fn create_owner_handler(body: OwnerRequest, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]    |                                                                ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::DBPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Reply` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:43:87
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub async fn create_owner_handler(body: OwnerRequest, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]    |                                                                                       ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::Reply;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `json` in this scope
[INFO] [stdout]   --> backend/src/handler.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Ok(json(&OwnerResponse::of(
[INFO] [stdout]    |        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::body::json;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use warp::reply::json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwnerResponse`
[INFO] [stdout]   --> backend/src/handler.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Ok(json(&OwnerResponse::of(
[INFO] [stdout]    |              ^^^^^^^^^^^^^ use of undeclared type `OwnerResponse`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use shared::OwnerResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]  --> backend/src/handler.rs:1:67
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub async fn list_pets_handler(owner_id: i32, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]   |                                                                   ^^^^^^ ---------- supplied 1 generic argument
[INFO] [stdout]   |                                                                   |
[INFO] [stdout]   |                                                                   expected 2 generic arguments
[INFO] [stdout]   |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub async fn list_pets_handler(owner_id: i32, db_pool: DBPool) -> Result<impl Reply, E> {
[INFO] [stdout]   |                                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]  --> backend/src/handler.rs:1:67
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub async fn list_pets_handler(owner_id: i32, db_pool: DBPool) -> Result<impl Reply> {
[INFO] [stdout]   |                                                                   ^^^^^^ ---------- supplied 1 generic argument
[INFO] [stdout]   |                                                                   |
[INFO] [stdout]   |                                                                   expected 2 generic arguments
[INFO] [stdout]   |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub async fn list_pets_handler(owner_id: i32, db_pool: DBPool) -> Result<impl Reply, E> {
[INFO] [stdout]   |                                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `error`
[INFO] [stdout]  --> backend/src/db/mod.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | type Result<T> = std::result::Result<T, error::Error>;
[INFO] [stdout]   |                                         ^^^^^ use of undeclared crate or module `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `error`
[INFO] [stdout]  --> backend/src/db/mod.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | type Result<T> = std::result::Result<T, error::Error>;
[INFO] [stdout]   |                                         ^^^^^ use of undeclared crate or module `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs`
[INFO] [stdout]  --> backend/src/db/mod.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let init_file = fs::read_to_string(INIT_SQL)?;
[INFO] [stdout]   |                     ^^ use of undeclared crate or module `fs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs`
[INFO] [stdout]  --> backend/src/db/mod.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let init_file = fs::read_to_string(INIT_SQL)?;
[INFO] [stdout]   |                     ^^ use of undeclared crate or module `fs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject`
[INFO] [stdout]  --> backend/src/handler.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 |         .map_err(reject::custom)?;
[INFO] [stdout]   |                  ^^^^^^ use of undeclared crate or module `reject`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject`
[INFO] [stdout]  --> backend/src/handler.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 |         .map_err(reject::custom)?;
[INFO] [stdout]   |                  ^^^^^^ use of undeclared crate or module `reject`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject`
[INFO] [stdout]   --> backend/src/handler.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout] 18 |             .map_err(reject::custom)?,
[INFO] [stdout]    |                      ^^^^^^ use of undeclared crate or module `reject`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject`
[INFO] [stdout]   --> backend/src/handler.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 |         .map_err(reject::custom)?;
[INFO] [stdout]    |                  ^^^^^^ use of undeclared crate or module `reject`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject`
[INFO] [stdout]   --> backend/src/handler.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout] 18 |             .map_err(reject::custom)?,
[INFO] [stdout]    |                      ^^^^^^ use of undeclared crate or module `reject`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode`
[INFO] [stdout]   --> backend/src/handler.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Ok(StatusCode::OK)
[INFO] [stdout]    |        ^^^^^^^^^^ use of undeclared type `StatusCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject`
[INFO] [stdout]   --> backend/src/handler.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 |         .map_err(reject::custom)?;
[INFO] [stdout]    |                  ^^^^^^ use of undeclared crate or module `reject`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject`
[INFO] [stdout]   --> backend/src/handler.rs:30:59
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let owners = db::owner::fetch(&db_pool).await.map_err(reject::custom)?;
[INFO] [stdout]    |                                                           ^^^^^^ use of undeclared crate or module `reject`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode`
[INFO] [stdout]   --> backend/src/handler.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Ok(StatusCode::OK)
[INFO] [stdout]    |        ^^^^^^^^^^ use of undeclared type `StatusCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject`
[INFO] [stdout]   --> backend/src/handler.rs:30:59
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let owners = db::owner::fetch(&db_pool).await.map_err(reject::custom)?;
[INFO] [stdout]    |                                                           ^^^^^^ use of undeclared crate or module `reject`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject`
[INFO] [stdout]   --> backend/src/handler.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |         .map_err(reject::custom)?;
[INFO] [stdout]    |                  ^^^^^^ use of undeclared crate or module `reject`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject`
[INFO] [stdout]   --> backend/src/handler.rs:47:22
[INFO] [stdout]    |
[INFO] [stdout] 47 |             .map_err(reject::custom)?,
[INFO] [stdout]    |                      ^^^^^^ use of undeclared crate or module `reject`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject`
[INFO] [stdout]   --> backend/src/handler.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |         .map_err(reject::custom)?;
[INFO] [stdout]    |                  ^^^^^^ use of undeclared crate or module `reject`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 52 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reject`
[INFO] [stdout]   --> backend/src/handler.rs:47:22
[INFO] [stdout]    |
[INFO] [stdout] 47 |             .map_err(reject::custom)?,
[INFO] [stdout]    |                      ^^^^^^ use of undeclared crate or module `reject`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 52 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `backend` (bin "backend" test) due to 53 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `backend` (bin "backend") due to 53 previous errors
[INFO] running `Command { std: "docker" "inspect" "82bd551460a4482a789707a42835187cdab0ed3a7811b40fb541d80a715238fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82bd551460a4482a789707a42835187cdab0ed3a7811b40fb541d80a715238fb", kill_on_drop: false }`
[INFO] [stdout] 82bd551460a4482a789707a42835187cdab0ed3a7811b40fb541d80a715238fb
